package com.teamin.web.filter;

import javax.servlet.*;
import java.io.IOException;


/**
 * filter 示例
 * 
 * @author 31484
 *
 */
//@Order(1) // filter执行顺序，越小越先执行
//@WebFilter(filterName = "JwtFilter", urlPatterns = { "/user/*", "/task/*", "/circle/*", "/comment/*" }) // 需要校验的接口
public class JwtFilter implements Filter {
	
	@Override
	public void doFilter(final ServletRequest req, final ServletResponse res, final FilterChain chain)
			throws IOException, ServletException {
		chain.doFilter(req, res);

	}

	@Override
	public void init(FilterConfig filterConfig) throws ServletException {
		// TODO Auto-generated method stub

	}

	@Override
	public void destroy() {
		// TODO Auto-generated method stub

	}

}
